FUNCTION OSAGetDefaultScriptingComponent(genericScriptingComponent: ComponentInstance; VAR scriptingSubType: ScriptingComponentSelector): OSAError;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $1001, $7000, $A82A;
{$ENDC}
FUNCTION OSASetDefaultScriptingComponent(genericScriptingComponent: ComponentInstance; scriptingSubType: ScriptingComponentSelector): OSAError;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $1002, $7000, $A82A;
{$ENDC}
{ get a scripting component instance from its subtype code }
FUNCTION OSAGetScriptingComponent(genericScriptingComponent: ComponentInstance; scriptingSubType: ScriptingComponentSelector; VAR scriptingInstance: ComponentInstance): OSAError;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0008, $1003, $7000, $A82A;
{$ENDC}
{ get a scripting component selector (subType) from a stored script }
FUNCTION OSAGetScriptingComponentFromStored(genericScriptingComponent: ComponentInstance; {CONST}VAR scriptData: AEDesc; VAR scriptingSubType: ScriptingComponentSelector): OSAError;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0008, $1004, $7000, $A82A;
{$ENDC}
{ get a real component instance and script id from a generic id }
FUNCTION OSAGenericToRealID(genericScriptingComponent: ComponentInstance; VAR theScriptID: OSAID; VAR theExactComponent: ComponentInstance): OSAError;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0008, $1005, $7000, $A82A;
{$ENDC}
{ get a generic id from a real component instance and script id }
FUNCTION OSARealToGenericID(genericScriptingComponent: ComponentInstance; VAR theScriptID: OSAID; theExactComponent: ComponentInstance): OSAError;